﻿namespace RobotPerCeption.Entity
{
    public class PositionThreadInfo
    {

        public int cur_robote_position { set; get; }

        public Thread thread { set; get; }

        public int threadManagerId { set; get; }


        public CancellationToken cts { set; get; }


        public CancellationTokenSource source { set; get; }


        public PositionThreadInfo(int robote_position, Thread thread, int managerId, CancellationToken token, CancellationTokenSource parentToken)
        {
            this.thread = thread;
            this.cur_robote_position = robote_position;

            this.threadManagerId = managerId;
            this.cts = token;
            this.source = parentToken;
        }




    }
}
